﻿@{
	Script.Require("respond").UseCondition("Lt IE 9");
	Script.Require("excanvas").UseCondition("Lt IE 9");
	Script.Require("jQ");
	Script.Require("jquery-migrate");
	Script.Require("jquery-ui");
	Script.Require("bootstrap");		
	Script.Require("bootstrap-hover-dropdown");
	Script.Require("jquery.slimscroll");
	Script.Require("jquery.blockui");
	Script.Require("jquery.cookie");
	Script.Require("jquery.uniform");
	Script.Require("bootstrap-switch");
	Script.Require("metronic");
	Script.Require("layout");
	Script.Require("quick-sidebar");
	Script.Require("demo");
}

@using (Script.Foot())
{
<script type="text/javascript">
jQuery(document).ready(function() {    
    Metronic.init(); // init metronic core components
    Layout.init(); // init current layout
    QuickSidebar.init(); // init quick sidebar
    Demo.init(); // init demo features
    // 如果菜单区域有内容就显示菜单区域
    if($('ul').hasClass("page-sidebar-menu"))
    {
        // 不是关闭状态
        //if ($.cookie('sidebar_closed') == "0")
        {
            $('body').removeClass("page-full-width");
        }
    }
});
</script>
}